﻿using SheepStorage.Domain.DTO.Output;
using SheepStorage.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepStorage.Service.Interface
{
    /// <summary>
    /// 羊只称重服务接口
    /// </summary>
    public interface ISheepWeightService
    {
        /// <summary>
        /// 羊只称重添加
        /// </summary>
        /// <param name="sheepWeight"></param>
        /// <returns></returns>
        Task<int> AddSheepWeight(SheepWeight sheepWeight);

        /// <summary>
        ///羊只称重显示
        /// </summary>
        /// <returns></returns>
        Task<PageOutput<SheepWeight>> GetSheepWeight(string? startDate, string? endDate,string? overBit, int sheepType, int sheepSex,int minweightMonth,int maxweightMonth,string? weightType,int pageIndex, int pageSize);

        /// <summary>
        /// 羊只称重删除
        /// </summary>
        /// <param name="sheepWeightId"></param>
        /// <returns></returns>
        int DelSheepWeight(int sheepWeightId);

        /// <summary>
        /// 羊只称重反填
        /// </summary>
        /// <param name="sheepWeightId"></param>
        /// <returns></returns>
        SheepWeight GetFtSheepWeight(int sheepWeightId);

        /// <summary>
        /// 修改羊只称重
        /// </summary>
        /// <param name="buildingManagement"></param>
        /// <returns></returns>
        Task<int> UpdaSheepWeight(SheepWeight sheepWeight);

        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="EnterpriseIds"></param>
        /// <returns></returns>
        int DelRangeSheepWeight(List<int> sheepWeightIds);
    }
}
